package com.wbcs.system.buttons;

import com.wbcs.config.component.IComponentConfigBean;
import com.wbcs.system.ReportRequest;
import com.wbcs.util.Consts_Private;

public class CancelButton extends AbsEditableReportButton
{

    public CancelButton(IComponentConfigBean ccbean)
    {
        super(ccbean);
    }

    @Override
	public String getButtonType()
    {
        return Consts_Private.CANCEL_BUTTON;
    }

    @Override
	protected String getClickEvent(ReportRequest rrequest,String paramsForGetUrl)
    {
        return "changeReportAccessMode('"+ccbean.getGuid()+"',null)";
    }
}
